package net.stogi.unicore.beyond.ui.shared.taskrunner.action.model;

import net.stogi.common.gwt.dispatch.shared.core.Action;
import net.stogi.unicore.beyond.api.dto.TaskInstance;

public class RunTaskInstanceAction implements Action<RunTaskInstanceResult> {

	private static final long serialVersionUID = 5691447260189963307L;

	private TaskInstance taskInstance;

	public RunTaskInstanceAction(TaskInstance taskInstance) {
		this.taskInstance = taskInstance;
	}

	@SuppressWarnings("unused")
	private RunTaskInstanceAction() {}

	public TaskInstance getTaskInstance() {
		return taskInstance;
	}

	public void setTaskInstance(TaskInstance taskInstance) {
		this.taskInstance = taskInstance;
	}
}
